package com.project.proxy;

public class Test {
    public static void main(String[] args) {
        ProxyFactory pf = new ProxyFactory(new Target());
        ITar it = (ITar) pf.getProxy();
        it.speak();
    }
}
